#ifndef SWEGL_RENDERER_STATS_H
#define SWEGL_RENDERER_STATS_H

#include "swegl/common.h"

namespace swegl
{

class RendererStats
{
public:
	RendererStats();
	
	uint batchCount() const;
	uint triangleCount() const;
	void reset();

protected:
	friend class Renderer;
	
	uint m_batchCount;
	uint m_triangleCount;
};

inline RendererStats::RendererStats()
{
	reset();
}

inline void RendererStats::reset()
{
	m_batchCount = 0;
	m_triangleCount = 0;
}

inline uint RendererStats::batchCount() const
{
	return m_batchCount;
}

inline uint RendererStats::triangleCount() const
{
	return m_triangleCount;
}

}

#endif 
